<!DOCTYPE html>
<html lang="en">
<head>
    <base href=""/>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>监控升级</title>
    <link type="text/css" rel="stylesheet" href="../static/css/bootstrap.min.css">
    <link type="text/css" rel="stylesheet" href="../static/css/bootstrap-responsive.min.css">
    <link type="text/css" rel="stylesheet" href="../static/css/fileinput.min.css"/>
    <link type="text/css" rel="stylesheet" href="../static/css/common.css"/>

    <script type="text/javascript" src="../static/js/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="../static/js/jquery.tips.js"></script>
    <script type="text/javascript" src="../static/js/jquery.form.js"></script>
    <script type="text/javascript" src="../static/js/bootstrap.min.js"></script>
    <script type='text/javascript' src='../static/js/fileinput.js'></script>
    <script type='text/javascript' src='../static/js/zh.min.js'></script>
	<script type="text/javascript" src="../static/js/messageContent.js"></script>
    <script type="text/javascript" src="../static/js/common.js"></script>
    <script type='text/javascript' src='../static/js/page.js'></script>
    <script type="text/javascript" src="../static/js/chargingStationUpgrade.js"></script>
    <script type='text/javascript' src='../static/table/chargingStationUpgradeTable.js'></script>
</head>
<body>
<div class="ablosulteDiv">
  <div class="top">
  	<h4 class="partTitle">
		当前位置: 充电站<span class="comSpanTitle">></span>监控升级
	</h4>
  </div>
  <div class="blueBorder"></div>
  <div class="scrollBody">
	  <div class="partWhite paddingBottomTen" id="scrollHeight">
	  	<form class="form-horizontal" id="chargingStationUpgradeForm">
	        <input id="page" name="page" value="1" hidden="hidden">
	        <input id="rows" name="rows" value="10" hidden="hidden">
	        <div class="form-group">
	        	<div class="col-md-3 col3ConditionAll">
		            <label for="ChargingStationID" class="col-sm-4 control-label partConditionTitle">充电站名称</label>
		            <div class="col-sm-8 partCondition">
		                <select id="ChargingStationID" name="ChargingStationID" class="form-control" onchange="search()">
		                  <option value="" selected="selected">请选择</option>
		                </select>
		            </div>
	            </div>
	        </div>
	    </form>
	  	</div>
	  <div class="partWhite">
	  	<div class="comHtmlTitle"><span class="borBlue"></span>充电站监控升级—列表
	    <div class="partTable">
	        <table class="table table-hover" id="chargingStationUpgradeTable">
	            <thead id="upgradeThead">
	            </thead>
	            <tbody id="upgradeTbody">
	            </tbody>
	        </table>
	        <table class="table scrollTable" id="chargingStationUpgradeTable1" hidden="hidden">
       		</table>
	    </div>
	    <div class="partBtn">
		  <div class="partTurnPage">
	          <ul class="list-inline">
	              <li id="total"></li>
	              <li class="turnPage"></li>
	          </ul>
	      </div>
		 </div>
	  </div>
  </div>
	 </div>
</div>
     <!--    <button type="button" class="btn btn-primary" onclick="upload()">
            <img src="../static/images/daoru.png"/> 上传升级文件
        </button> -->
        <!-- <button type="button" class="btn btn-primary" onclick="download()">
            <img src="../static/images/daochu.png"/> 下载升级文件测试
        </button> -->
  <!-- <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" data-backdrop="static" id="upgradeFileModal" tabindex="-1" class="modal fade popup" >
     <div class="popupFileInput">
         <div class="modal-header">
             <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                 <span aria-hidden="true" class="close">&times;</span>
             </button>
             <h4 class="fileInputTitle">升级文件生成</h4>
         </div>
         <div class="modal-body fileInputBody">
             <form id="upgradeFileForm" class="form-horizontal" method="post" enctype="multipart/form-data">
                <div class="form-group">
                  <label for="upgradeChargingStationID" class="col-sm-4 control-label partConditionTitle">充电站名称</label>
                  <div class="col-sm-8 partCondition">
                      <select id="upgradeChargingStationID" name="upgradeChargingStationID" class="form-control">
                        <option value="all" selected="selected">全部充电站</option>
                      </select>
                  </div>
                </div>
                <div class="form-group">
                  <label for="upgradeProgramFile" class="col-sm-4 control-label partConditionTitle">升级程序文件</label>
                  <div class="col-sm-8 partCondition">
                      <select id="upgradeProgramFile" name="upgradeProgramFile" class="form-control">
                      </select>
                  </div>
                </div>
                <div class="form-group">
                  <label for="sqlFile" class="col-sm-4 control-label partConditionTitle">数据库文件</label>
                  <div class="col-sm-8 partCondition">
                      <select id="sqlFile" name="sqlFile" class="form-control">
                      </select>
                  </div>
                </div>
                <div class="form-group">
                  <label for="configFile" class="col-sm-4 control-label partConditionTitle">配置文件</label>
                  <div class="col-sm-8 partCondition">
                      <select id="configFile" name="configFile" class="form-control">
                      </select>
                  </div>
                </div>
             </form>
         </div>
         <div class="modal-footer fileInputFooter">
             <button type="button" class="btn btn-primary" onclick="createUpgradeFile();">确定</button>
             <button type="button" class="btn btn-danger" data-dismiss="modal">取消</button>
         </div>
     </div>
  </div> -->
  <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" data-backdrop="static" id="fileinputModal" tabindex="-1" class="modal fade popup" >
     <div class="popupFileInput">
         <div class="modal-header">
             <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                 <span aria-hidden="true" class="close">&times;</span>
             </button>
             <h4 class="fileInputTitle">升级文件上传</h4>
         </div>
         <div class="modal-body fileInputBody">
             <form id="uploadUpgradeFileForm" class="form-horizontal" method="post" enctype="multipart/form-data">
             </form>
         </div>
         <div class="modal-footer fileInputFooter">
             <button type="button" class="btn btn-primary" onclick="confirm();">确定</button>
             <button type="button" class="btn btn-danger" data-dismiss="modal">取消</button>
         </div>
     </div>
  </div>
</body>
</html>